package com.ssy.lingxi.search.entity;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;

/**
 * 品牌搜索响应类
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/7/29
 */
@Data
public class Brand implements Serializable {
    private static final long serialVersionUID = -1221955193485099167L;

    @Field(type = FieldType.Long)
    private Long id;

    /**
     * 品牌名称
     */
    private String name;

    /**
     * 品牌logo
     */
    private String logoUrl;
}
